Giter VIP home page Giter VIP logo

go-xmlrpc's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

go-xmlrpc's Issues

Fail to parse xml response

The rtorrent response with the following xml:

   <?xml
    <methodResponse>
        <params>
            <param>
                <value>
                    <i8>
                        0
                        </i8>
                    </value>
                </param>
            </params>
        </methodResponse>

which the module can't to parse.
I believe that the issue is with tag that is not expected by it.
I've tested the module for python (xmlrpc.client) and the built-in xmlrpc binary from xmlrpclib for linux. Both of them can handle such headers properly.

Could you please advise the root cause?

Thanks,
Constantine

Version package for stability

Hi @mattn, thanks for rolling out this useful library. It will be great if you could tag and release a stable version at gopkg.in that users can rely on without risking breaking changes when importing with go get. I don't know if gopkg.in is open for public use but even tagging a stable version should be useful.

xml element not included in encoded response sent to server

I noticed that this library isn't including the standard <?xml [...]?> element, which is required by many xmlrpc servers/other parsers. The xmlrpc spec doesn't define this as optional.

I've submitted PR #6 which fixes this, as well as adds additional minor http improvements for those using this for highly concurrent environments.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.