Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete method incorrectly cased #120

Closed
stevewillcock opened this issue Mar 23, 2019 · 0 comments
Closed

Delete method incorrectly cased #120

stevewillcock opened this issue Mar 23, 2019 · 0 comments
Milestone

Comments

@stevewillcock
Copy link

Description

The Delete method is cased as 'Delete' instead of 'DELETE' which can cause a 501 not implemented with some servers (this happened with an akka http server (Scala, not .NET) in this case)

Known workarounds

Upper case the method name

  let myApi = MyProviderApi(CustomizeHttpRequest = fun (req:System.Net.HttpWebRequest) ->
                                                             req.Method <- req.Method.ToUpper() // Due to issue with "Delete" method
                                                             req)

@sergey-tihon sergey-tihon added this to the v1.0 milestone Apr 11, 2019
sergey-tihon added a commit that referenced this issue Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants