PUT method with urllib?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jonne
    New Member
    • Mar 2007
    • 1

    #1

    PUT method with urllib?

    Hello,
    would it be possible to PUT files with urllib? From the source the open_http() function looked like it can only POST, not PUT, which I would need for DAV application. And I did not immediately see how the function would need to be modified for the purpose.

    BR,
    jonne
  • ghostdog74
    Recognized Expert Contributor
    • Apr 2006
    • 511

    #2
    Originally posted by jonne
    Hello,
    would it be possible to PUT files with urllib? From the source the open_http() function looked like it can only POST, not PUT, which I would need for DAV application. And I did not immediately see how the function would need to be modified for the purpose.

    BR,
    jonne
    you can use httplib , or this old method. (though i have not tried) .. you can experiment with it.

    Comment

    Working...