marcelstoer commented on PR #72:
URL: https://github.com/apache/maven-wagon/pull/72#issuecomment-1253902404

   I am still interested in seen this land.
   
   In our case the WAF complained about the _absence_ of a `content-type` 
header when uploading a JAR. I guess it would have been fine seeing 
`application/octet-stream` - had there been a header at all. (sorry, if there's 
a separate issue for that, didn't find one)
   
   ```
   [DEBUG] http-outgoing-0 >> PUT /artifactory/the/rest/is/redacted.jar HTTP/1.1
   [DEBUG] http-outgoing-0 >> Cache-control: no-cache
   [DEBUG] http-outgoing-0 >> Pragma: no-cache
   [DEBUG] http-outgoing-0 >> User-Agent: Apache-Maven/3.8.5 (Java 11.0.9.1; 
Mac OS X 10.16)
   [DEBUG] http-outgoing-0 >> Content-Length: 17856154
   [DEBUG] http-outgoing-0 >> Host: my.artifactory.host
   [DEBUG] http-outgoing-0 >> Connection: Keep-Alive
   [DEBUG] http-outgoing-0 >> Expect: 100-continue
   [DEBUG] http-outgoing-0 >> Cookie: SCDID_S=redacted$$
   [DEBUG] http-outgoing-0 >> Accept-Encoding: gzip,deflate
   [DEBUG] http-outgoing-0 >> Authorization: Basic *redacted*
   [DEBUG] http-outgoing-0 << HTTP/1.1 100 Continue
   
   ```
   
   P.S. Maybe the description of this PR should mention that it'll fix 
https://issues.apache.org/jira/browse/WAGON-599.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to