[Box Backup-commit] [boxbackup/boxbackup] bd7e3f: Add CollectInBufferStream::Write(std::string)

GitHub noreply at github.com
Mon Nov 14 12:43:43 GMT 2016


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

  Changed paths:
    M lib/common/CollectInBufferStream.h

  Log Message:
  -----------
  Add CollectInBufferStream::Write(std::string)

Makes it easier to write strongly-typed strings as HTTP responses.


  Commit: e5b859a7ca168c3453c4cfd592d9ae5c52b5111a
      https://github.com/boxbackup/boxbackup/commit/e5b859a7ca168c3453c4cfd592d9ae5c52b5111a
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2016-11-14 (Mon, 14 Nov 2016)

  Changed paths:
    M lib/common/makeexception.pl.in

  Log Message:
  -----------
  Improve string representation of BoxExceptions.

Show the exception type as well as subtype in GetMessage().


  Commit: 914c633f6686d8c6961e6d20e1db7bd2721c195f
      https://github.com/boxbackup/boxbackup/commit/914c633f6686d8c6961e6d20e1db7bd2721c195f
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2016-11-14 (Mon, 14 Nov 2016)

  Changed paths:
    M lib/httpserver/HTTPServer.cpp

  Log Message:
  -----------
  Improve error messages returned by HTTPServer

Write strings by auto-converting to std::string, and format the HTML output
better, making it more readable.


Compare: https://github.com/boxbackup/boxbackup/compare/6d6df575f19d...914c633f6686


More information about the Boxbackup-commit mailing list