Skip to content

Make empty responses - #82

Merged
jeapostrophe merged 3 commits into
racket:masterfrom
jessealama:empty
Nov 23, 2019
Merged

jeapostrophe merged 3 commits into
racket:masterfrom
jessealama:empty

Conversation

@jessealama

Copy link
Copy Markdown
Contributor

In some HTTP API settings (e.g., JSON RPC) it is convenient to provide empty HTTP responses. This change adds a little convenience, response/empty, for such responses.

@jessealama

Copy link
Copy Markdown
Contributor Author

I didn't bump the version number in info.rkt, but I'm happy to do that.

@samth

samth commented Nov 22, 2019

Copy link
Copy Markdown
Member

I think a version bump would be good, but more significantly a history annotation is needed.

@jessealama

Copy link
Copy Markdown
Contributor Author

@samth done.

I'm happy to update the Typed Racket web server after this changed has been approved & merged in.

@LiberalArtist

LiberalArtist commented Nov 22, 2019 •

Copy link
Copy Markdown
Contributor

I would propose adding a @history note for version 1.6 but not actually incrementing the version in info.rkt, for a fairly specific reason. The changes in #77 referred to version 1.6 but also didn't increment the package version, which has the happy consequence of meaning no one can express a dependency on that API to the package system yet (and it isn't in the Racket 7.5 release), so we have the freedom to make the tweaks we've been discussing in that thread without breaking anyone.

I would suggest that we merge this straight-forward improvement now. I am working on a PR now that will:

If we wait to increment the package version until then, we'll avoid any agita about compatibility during the intermediate steps.

@jessealama

jessealama commented Nov 22, 2019 •

Copy link
Copy Markdown
Contributor Author

I've bumped this to 1.6, but I'm happy to trash that commit @LiberalArtist. (You were writing your note as I was pushing!)

@LiberalArtist

Copy link
Copy Markdown
Contributor

@jessealama I see our comments passed in the ether. That would be my vote, unless you or others disagree.

@jessealama

Copy link
Copy Markdown
Contributor Author

@LiberalArtist commit trashed

@jeapostrophe
jeapostrophe merged commit cec726f into racket:master Nov 23, 2019
@jeapostrophe

Copy link
Copy Markdown
Contributor

Thanks @jessealama I'll take this commit and hang tight for @LiberalArtist --- You guys are great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants