MCPcopy Create free account
hub / github.com/GoCollaborate/src / SupportXHTTPMethodOverride

Function SupportXHTTPMethodOverride

utils/network.go:35–45  ·  view source on GitHub ↗

Override method by checking its header One thing you can do is to "tunnel" HTTP Methods inside another HTTP Header. Basically you have a header that says "No, seriously, I know I got here via a POST, but use this one instead." You would still POST, but then you'd have "X-HTTP-Method-Override:PUT" as

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

GetMethod · 0.80

Tested by

no test coverage detected