Closed albfan closed 6 years ago
I have done a test with curl and redmine 3.3.0: File is loaded (checked on $REDMINE_DIR/files)
response is 201:
{ "upload": { "token": "32.69abd4abf577d7cfd6d370f146611fea" } }
but when it is loaded through redmine-java-api it returns a 201 but no file is uploaded on $REDMINE_DIR/files and from response: token is:
"33."
so seems last part of token is missing too
I can make any kind of test if needed. I went through transport.upload() but get lost in redmine-java-api internals
relates with #278
https://redmine.lighttpd.net/issues/1104 redmine do not accept Transfer-encoding: chunked, but httpcomponents decide to send attachment that way.
I have done a test with curl and redmine 3.3.0: File is loaded (checked on $REDMINE_DIR/files)
response is 201:
{ "upload": { "token": "32.69abd4abf577d7cfd6d370f146611fea" } }
but when it is loaded through redmine-java-api it returns a 201 but no file is uploaded on $REDMINE_DIR/files and from response: token is:
"33."
so seems last part of token is missing too
I can make any kind of test if needed. I went through transport.upload() but get lost in redmine-java-api internals