Jump to content


Finding data size

  • Please log in to reply
1 reply to this topic

#1 emscoe



  • Members
  • Pip
  • 1 posts

Posted 13 March 2015 - 12:50 PM



Please help me in finding the size of the data that I am sending in one stream.

Is the content length shown below the size of the data, and also is it the just the size of data or it contains the size of headers also.


Looking forward for your prompt reply.


    "protocol": "v2",
    "checksum": ",",
    "_t": "str",
    "_m": {
        "me": "POST",
        "pr": "http",
        "ve": "HTTP\/1.0",
        "ur": "\/streams\/",
        "ho": "api.carriots.com",
        "he": {
            "Content-Length": "109",
            "Accept-Encoding": "gzip, deflate",
            "X-Scheme": "http",
            "Host": "api.carriots.com",
            "Accept": "*\/*",
            "User-Agent": "python-requests\/2.5.0 CPython\/2.7.6 Linux\/3.13.0-32-generic",
            "Connection": "close",






#2 dompablo


    Master of Puppets

  • Members
  • PipPip
  • 15 posts

Posted 01 June 2015 - 10:02 AM

Hi emscoe,


The "content-length" shows the size of the stream (at, data, protocol, etc), it's the request body, not headers.


Best regards!

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users