[Baypiggies] Need help root causing exception http.client.BadStatusLine

Aahz aahz at pythoncraft.com
Mon Oct 29 15:39:46 CET 2012

On Sun, Oct 28, 2012, Shubhra Sharma wrote:
> Sorry I missed your point. I'm using HTTP/1.1 here is the netcat response:
> ssharma$ nc -l localhost 8080
> GET /xyz/api/states/syncingIds HTTP/1.1
> Host: localhost:8080
> User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0)
> Gecko/20100101 Firefox/16.0
> Accept: */*
> Accept-Language: en-US,en;q=0.5
> Accept-Encoding: gzip, deflate
> Connection: keep-alive
> X-Requested-With: XMLHttpRequest
> Referer: http://localhost:8080/xyz/
> ====================
> No proxies. Do I still need to worry about Expect:100-continue?

Probably not.  Try using HTTP/1.0, there may be a problem with Tomcat
and the keep-alive.
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"We've just found a line in a perl script that invokes a shell script to call 
a lisp program which invokes the very-same perl script."  --anonymous

More information about the Baypiggies mailing list