[Box Backup-commit] [boxbackup/boxbackup] 6d6df5: Refactor common HTTP header handling

GitHub noreply at github.com
Sun Nov 13 20:53:07 GMT 2016


  Branch: refs/heads/s3_virtual_host_name
  Home:   https://github.com/boxbackup/boxbackup
  Commit: 6d6df575f19d2a9b33b4e656b68f57906aecfedf
      https://github.com/boxbackup/boxbackup/commit/6d6df575f19d2a9b33b4e656b68f57906aecfedf
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2016-11-13 (Sun, 13 Nov 2016)

  Changed paths:
    M lib/httpserver/HTTPException.txt
    A lib/httpserver/HTTPHeaders.cpp
    A lib/httpserver/HTTPHeaders.h
    M lib/httpserver/HTTPQueryDecoder.cpp
    M lib/httpserver/HTTPQueryDecoder.h
    M lib/httpserver/HTTPRequest.cpp
    M lib/httpserver/HTTPRequest.h
    M lib/httpserver/HTTPResponse.cpp
    M lib/httpserver/HTTPResponse.h
    M lib/httpserver/S3Client.cpp
    M lib/httpserver/S3Simulator.cpp
    M test/httpserver/testhttpserver.cpp

  Log Message:
  -----------
  Refactor common HTTP header handling

Move the common code out of HTTPRequest and HTTPResponse into the new
HTTPHeaders class, a container for headers with some sensible HTTP-specific
behaviour.




More information about the Boxbackup-commit mailing list