GroveStreams

Missing separator in request header.427

seckford private msg quote post Address this user
I'm getting a response from GroveStreams that I don't really understand; the API call (redacted) and the response are below.
There's no body to the request - just the API call and headers.
 
http://grovestreams.com/api/feed?&compTmplId=temp&compId=WWW&org=XXX&api_key=YYY&therm1=+26.43 HTTP/1.1
 
Host: grovestreams.com
Connection: close
 
HTTP error code: 400
HTTP error data: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Request header field is missing ':' separator.<br />
<pre>
 HTTP/1.1</pre>
</p>
<hr>
<address>Apache Server at www style="color: #339933;">.grovestreams.com Port 80</address>
</body></html>
 


Has anyone seen this / does anyone have a solution?

Thanks - Will
Post 1 IP   flag post
MikeMills private msg quote post Address this user
Could it be that you have two new line chars after HTTP/1.1 but only need one?
Post 2 IP   flag post
seckford private msg quote post Address this user
Not as far as I can tell; what is even odder is that I've now found that if I change my router, the call works correctly.

I'll keep digging, since I really want to retain the original router.

Thanks for the ideas - C W Rose
Post 3 IP   flag post
2965 3 3
Log in or sign up to compose a reply.