Skip to content

Add newline to end of page #168

Closed
@jeroen

Description

I love httpbin, but one thing that bothers me is that the pages do not end with a linebreak. Some clients throw warnings, some might not even parse the final line.

There are some good arguments why text files should end with an eol. From a json perspective it doesn't matter, all whitespace is optional. Would it be possible to add this?

Warning message:
In readLines(curl("http://httpbin.org/get")) :
  incomplete final line found on 'http://httpbin.org/get'

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions