Skip to content

HTTP 200 vs. 201 response for timestamps? #1098

@delfuego

Description

@delfuego

Can I ask a dumb question — is there any stomach for perhaps adding an option to respond to timestamp requests with an HTTP 200 rather than 201?

I am actually embarrassed to be asking this, because I strongly believe that an HTTP 201 response is not just valid, but probably is in fact the semantically-correct response to send. But I'm in the unfortunate position of using a PDF-generating SDK that, when it tries to include timestamps in documents, will only accept an HTTP 200 response and reports failure when it receives an HTTP 201. (Yes, I'm surprised by this, and yes, their engineers have confirmed this for me.) I am in the midst of a reasoned discussion with them about how I think that the SDK's behavior is incorrect and that they should definitely consider 201 responses no differently than they currently consider and handle HTTP 200 responses... but I have no idea how successful I'll be. And I figured it was worth coming here and asking.

This is another place where, if I knew Go at all, I'd happily submit a PR for this for consideration... :/

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions