Search:

Type: Posts; User: blueviper

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    27,733

    Thanks, I'll try that!

    Thanks, I'll try that!
  2. Replies
    7
    Views
    27,733

    total = strlen(headerRequest) + size;...

    total = strlen(headerRequest) + size;
    if(!binary) {
    total += 3;
    }
    request = malloc(total);
    if (request == NULL) {
    return internalError(connfd);
    }
    request[0] = '\0';...
  3. Replies
    7
    Views
    27,733

    Thank you for your response. A printf of the...

    Thank you for your response.
    A printf of the response looks like everything between the '----' and '---'



    Response
    ----
    HTTP/1.1 200 OK
    Content-Length: 751635
    Content-Type: image/gif
  4. Replies
    7
    Views
    27,733

    Sending binary data via HTTP Response

    Hello,

    I'm trying to send some binary data, such as an animated gif, via an HTTP response for a simple web server.

    I am having issues having the browser close the connection after receipt of...
Results 1 to 4 of 4