Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Activity (RSS)

Monday, October 25 2010
8 Suportar marshalling de xml was created
  • Guilherme Silveira
    Guilherme Silveira created the ticket at 9:35 AM

    Restfulie.at(...).as("application/xml").post(algo)

    text/xml
    application/xml
    xml

    É tudo a mesma coisa nesse sentido

7 Suportar unmarshalling was created
  • Guilherme Silveira
    Guilherme Silveira created the ticket at 9:34 AM

    r = Restfulie.at(...).accepts(type).get
    cliente = r.resource

    Ao chamar accepts(type), o header Accept vai com type.
    Ao receber o resultado de QUALQUER tipo de r...

6 Suportar cadastro de novos serializadores was created
  • Guilherme Silveira
    Guilherme Silveira created the ticket at 9:32 AM

    Serializadores devem poder ser cadastrados pelo cliente, algo "como":

    Restfulie::Converters.register("meu_content_type", MeuConverter.new)

    O converterc deve ser...

4 Suportar delete, head, trace, options was updated
5 Suportar envio de um objeto was created
  • Guilherme Silveira
    Guilherme Silveira created the ticket at 9:31 AM

    Ao fazer um post,put ou patch com um objeto - nao uma string - o Restfulie deve serializa-lo.
    Para isso implementar um strategy:

    def post(what)

    if what.kind_of?...

3 Replicar suporte de post a patch e put was created
2 Support basic post was created
  • Guilherme Silveira
    Guilherme Silveira created the ticket at 9:28 AM

    resource = Restfulie.at(uri).as("application/xml").post("...")
    puts resource.code # 200

    Nesse caso ele deve fazer o post com o header Content-type=application/x...

1 Support basic get was created
  • Guilherme Silveira
    Guilherme Silveira created the ticket at 9:26 AM

    resource = Restfulie.at(uri).get
    puts resource.body # body da resposta
    puts resource.code # 200

Alexandre Atoji Alexandre Atoji was invited to restfulie-py at 9:23 AM
Home was created by Guilherme Silveira in restfulie-py at 9:16 AM