当我尝试推送时,我的NuGet服务器会抛出405 Not Allowed错误。至少,这是NuGet控制台所显示的:
Failed to process request. 'Method Not Allowed'.
The remote server returned an error: (405) Method Not Allowed..
但是当我用 Fiddler 查看实际的 HTTP 响应时,问题似乎完全不同:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code></code>
<message xml:lang="en-US">The URL representing the root of the service only supports GET requests.</message>
</error>
有什么想法可能正在发生?
谢谢!