Skip to content

Updates and tweaks for debugging. #2

Description

@jmervine

Requests from @dlitvakb

  • Add back @secure_connection for dev support and rws testing.
  • Add back :debug_json and :debug_request for dev support and rws testing.
  • Add custom header support and set default Content-Type header to application/x-www-form-urlencoded. Note on this; custom content-type didn't work before my changes, it could be passed to the MaxCDN (was NetDNARWS) module, but didn't actually get passed down to the underlying OAuth agent. The primary functional change I made was to make custom content-type support work, and then set it to application/json, which seems to be required for POST and PUT requests with body messages.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions