Uploaded image for project: 'apiman (API Management)'
  1. apiman (API Management)
  2. APIMAN-637

Headers added by OkHttp library

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 1.2.0.Final, 1.2.x
    • 1.1.6.Final
    • Gateway
    • None

    Description

      It seems that OkHttp is adding few custom headers to the response. We should try to keep the response from gateway as close to the original as possible and add only the necessary headers.

      Request method:	GET
      Request path:	https://localhost:8443/apiman-gateway/TestOrg1440085530236/TestService1440085531837/1.0
      --------------------------------------
      Server: WildFly/8
      Date: Thu, 20 Aug 2015 15:46:00 GMT
      Connection: keep-alive
      Content-Length: 485
      Content-Type: application/json
      X-RateLimit-Remaining: 1
      X-RateLimit-Limit: 20
      X-RateLimit-Reset: 59
      X-Powered-By: Undertow/1
      OkHttp-Selected-Protocol: http/1.1
      OkHttp-Response-Source: NETWORK 200
      OkHttp-Received-Millis: 1440085560971
      OkHttp-Sent-Millis: 1440085560970
      

      Attachments

        Activity

          People

            ewittman@redhat.com Eric Wittmann
            jcechace@redhat.com Jakub Čecháček
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: