Skip to content

Conversation

seeschloss
Copy link
Contributor

As explained here: https://bugs.php.net/bug.php?id=71276

The Date: header is mandatory in a HTTP response.
This pull-requests adds it and fixes the various tests that were impacted as well.

Also, this doesn't touch the Host: header but this one should be removed in the future, as well.

@jerrygrey
Copy link

@seeschloss Just something minor, can it go above the Connection: close header?

@seeschloss
Copy link
Contributor Author

Yeah I agree with you, I prefer it too.

I also fixed two tests which I had missed somehow.

smart_str_appendl_ex(buffer, "\r\n", 2, persistent);
}
}
time_t t;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The declaration should got to the start of the block.

@weltling
Copy link
Contributor

weltling commented Jun 2, 2016

Merged with f33c7b3 and some correction.

Thanks.

@weltling weltling closed this Jun 2, 2016
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.

3 participants