General discussions and chit chat about OpenSource software made by scireum - http://www.scireum.de
andyHa on 12.4.1
andyHa on master
Delays the creation of a part i… Merge pull request #179 from sc… (compare)
andyHa on InstantiationFixx
Delays the creation of a part i… (compare)
andyHa on 12.4
sabieber on KeepRunning
sabieber on master
Adds a flag which lets all dock… Merge pull request #178 from sc… (compare)
andyHa on KeepRunning
Adds a flag which lets all dock… (compare)
Tobsucht on FastBackgroundLoops
Tobsucht on master
Reduces the default wait interv… Merge pull request #177 from sc… (compare)
andyHa on FastBackgroundLoops
Reduces the default wait interv… (compare)
andyHa on rm
andyHa on 12.3
andyHa on master
Performs refactroings suggested… Simplifies array handling. Simplifies a convoluted block o… and 4 more (compare)
I'm having some issues setting Content-Length in a HEAD response from S3Ninja. In the S3Controller, I add the following line to the response in S3Controller.java/GetObject:541:
response.addHeader(HttpHeaderNames.CONTENT_LENGTH, object.getFile().length());
I added some console logging for verification. When I rebuild and execute a HEAD request, the console reports the correct 'content-length', but my response header has 'content-length -> 0'. I'm using Postman. This is occurring before:
response.status(HttpResponseStatus.OK);
So it should be added to the response before it is complete. Any ideas what happening? Is it getting reset somewhere?