How binary data is passed over HTTP?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maheshbailwal
    New Member
    • Nov 2009
    • 1

    How binary data is passed over HTTP?

    As we know that HTTP and SMTP support only 7 bit ASCII character than how
    HTTP POST directly transfere binary content of the image file in a request to the web server.

    I am real confused... please help...
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Wiki for Hypertext Transfer Protocol (HTTP) states:

    Originally posted by wiki
    Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. Its use for retrieving inter-linked resources, called hypertext documents...
    If you read the HTTP Specifications you can learn how HTTP works.


    You can change the Response header type to indicate the type of data being transferred to the web browser. The web browser will chose the appropriate action in response to the data type being sent to it.


    -Frinny

    Comment

    • Dormilich
      Recognized Expert Expert
      • Aug 2008
      • 8694

      #3
      Originally posted by maheshbailwal
      how HTTP POST directly transfere binary content of the image file in a request to the web server.
      though I’m not an expert in this area, I’d say in the same way the image is transfered to the client—binary.

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        Originally posted by Dormilich
        though I’m not an expert in this area, I’d say in the same way the image is transfered to the client—binary.
        It is.
        That was the first thing I looked it up using google when I first read this question :)

        Comment

        Working...