Hi,
I'm developing the restfulie-py and I have some questions about the
restbuy and opensearch.
When I do:
description = Restfulie.at("
http://localhost:3000/products/
opensearch.xml").accepts('application/opensearchdescription
+xml').get().resource()
I get a opensearch XML with description, url, contact.. etc then I
marshall this and generate an object.
With this object I do:
items = description.use("application/atom+xml").search(searchTerms =
"20", startPage = 1)
This last code doen't work yet.
what exactly use() should do?
I'm getting the "URL" on XML with "application/atom+xml" on it type
and send a GET on the template URL replaced with given parameters.
What I'm doing wrong?
I must add accepts header with "application/atom+xml"? Content-type? I
must create a atom first?