-
Couldn't load subscription status.
- Fork 1.6k
Closed
Description
Describe the bug
I made a bad assumption in my last PR, that http.Header would write an http.Header to a response. Header.Write isn't super well documented, so I definitely should have done more research.
Instead of writing header(s) to the response, it essentially sent the data through the writer (the http.ResponseWriter's Write function) and wrote it to the body after the JSON.
So you'd end up getting
{
...
}Link:</clients?limit=10&offset=10>; rel="next"...
in your response.
Metadata
Metadata
Assignees
Labels
No labels