Comments (3)
That works for me, thanks! If it becomes too cluttered the response content could maybe go into a response struct inside options, just to keep things tidy.
from httpc.
I'll take a look and see what I can come up with, the content length isn't always available though.
from httpc.
I've pushed some changes that put the response code in the options structure, I'll probably do the same for the content length
from httpc.
Related Issues (12)
- Possible Bug on chunked request: missing crlf after chunk size HOT 1
- Hello~ Could you please provide a sample code for how to send messages httpc POST method? HOT 1
- Add context pointer to httpc_options HOT 3
- Accessing Content-Length without manual parsing
- How to use re-use properly? HOT 4
- Content-Length set during PUT/POST method HOT 1
- Error with responses other than OK HOT 2
- User http headers HOT 2
- post with response HOT 1
- Disable retry mechanism HOT 2
- HTTP 1.0 range support? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from httpc.