Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.5] Ensure a 304 response is properly returned. #19867

Merged
merged 1 commit into from
Jul 3, 2017
Merged

[5.5] Ensure a 304 response is properly returned. #19867

merged 1 commit into from
Jul 3, 2017

Conversation

lucasmichot
Copy link
Contributor

We can decide at any time to return a 304 response.
This PR ensures that the content is null and that the following headers are always removed:

  • Allow
  • Content-Encoding
  • Content-Language
  • Content-Length
  • Content-MD5
  • Content-Type
  • Last-Modified

@taylorotwell taylorotwell merged commit bc23784 into laravel:master Jul 3, 2017
@lucasmichot lucasmichot deleted the feature/master/304-response branch July 3, 2017 13:04
mathieutu added a commit to mathieutu/framework that referenced this pull request Jul 4, 2017
* laravel/master: (519 commits)
  [5.5] Remove useless variables. (laravel#19866)
  Ensure a 304 response is properly returned. (laravel#19867)
  Apply fixes from StyleCI (laravel#19876)
  Stay consistant with expected exceptions and test messages. (laravel#19873)
  formatting
  formatting
  Improve ThrottleRequests.
  Allow passing of data to the view
  Apply fixes from StyleCI (laravel#19852)
  Testing existing feature (laravel#19847)
  verison
  Call parent::handle command (laravel#19839)
  Update ViewController.php
  Apply fixes from StyleCI (laravel#19836)
  Update CallbackEvent.php (laravel#19834)
  Add Route::view() helper
  Use proper assertions. (laravel#19831)
  Make illuminate/container require psr-11 (laravel#19829)
  Fix some docblocks and missing properties. (laravel#19825)
  formatting
  ...

# Conflicts:
#	src/Illuminate/Foundation/helpers.php
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.

None yet

2 participants