Now that we have PARTIAL and NOCONTENT statuses, let's
mention them in the documentation for the benefit of
folks writing future clients.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
<b> <pre style="border: solid thin blue; margin: 2% 10% 2% 10%; padding-left: 50px">
100 STATUS_CONTINUE
200 STATUS_OK
+ 204 STATUS_NOCONTENT
205 STATUS_COMPLETE
+ 206 STATUS_PARTIAL
307 STATUS_REDIRECTED
400 STATUS_BADREQUEST
404 STATUS_NOTFOUND
the request is now complete, nothing more to be done with this request
break out of loop
- if ( response.typ == RESULT )
+ if ( response.type == RESULT )
+
+ if ( response.statusCode == STATUS_PARTIAL )
+ add response chunk to buffer
+ continue receiving response chunks
+ elsif ( response.statusCode == STATUS_NOCONTENT )
+ have whole response, use buffer as result
pass result to the application layer for processing