Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4848

Add ability to set Content-Type,Accept headers in HTTP client

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.13.0
    • netstd - Library
    • None

    Description

      Right now the THttpTransport client does not specify a Content-Type header when connecting to an HTTP server, nor does it allow for resetting the Accept header. Neither headers can be set using the current CustomHeader properties. If these headers could somehow be set based on the protocol being used (like in the JavaScript library) then the server instance could use it to properly infer what the inbound and outbound protocols should be.

      Attachments

        Issue Links

          Activity

            People

              animusblue Kyle Smith
              animusblue Kyle Smith
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m