This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes HTTP Headers not carried over to the server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "HTTP Headers not carried over to the server" Watch "HTTP Headers not carried over to the server" New topic
Author

HTTP Headers not carried over to the server

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

I have a strange scenario wherein some of my HTTP header information is not being carried over in the request headers once it reaches the server. I'm using the Apache HTTP client libraries to make a POST request to the server:



When I tried to print the request headers on the server, here is what I see:



Where did the Content-Encoding go?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP Headers not carried over to the server
 
Similar Threads
AJAX, JSF and security
IE 6 and GZIP
Accept compresed requests in tomcat
Why null is return?
Apache Http Client Request Header