Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-7023

HEAD requests converted to GET requests

XMLWordPrintable

    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • No
    • Undefined
    • Workaround Exists
    • Hide

      Add the following to the deploymentConfig:

      command:
        - bash
        - '-c'
        - sed -i 's/proxy_cache apicast_cache;*$/proxy_cache apicast_cache; proxy_cache_convert_head off;/' src/conf.d/apicast.conf && apicast
      
      Show
      Add the following to the deploymentConfig: command: - bash - '-c' - sed -i 's/proxy_cache apicast_cache;*$/proxy_cache apicast_cache; proxy_cache_convert_head off;/' src/conf.d/apicast.conf && apicast
    • Hide
      • Configure APIcast 2.8 with a mapping rule equal to HEAD /
      • Set up an upstream or tunnel that shows the HTTP request method in the logs or response
      • Send a HEAD request to APIcast
      • See APIcast logs print a HEAD request but the upstream logs a GET request
      Show
      Configure APIcast 2.8 with a mapping rule equal to HEAD / Set up an upstream or tunnel that shows the HTTP request method in the logs or response Send a HEAD request to APIcast See APIcast logs print a HEAD request but the upstream logs a GET request

      Current behaviour

      When a HEAD request is sent to APIcast it's logged as a HEAD request but sent to the upstream as a GET request.

      Expected behaviour

      When a HEAD request is sent it is proxy_passed to the upstream as a HEAD request unless explicit configuration tells the gateway not to do that.

            Unassigned Unassigned
            rhn-support-keprice Kevin Price
            David Rajnoha David Rajnoha (Inactive)
            Eloy Coto Eloy Coto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: