File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
components/http_foundation Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 214
214
method tells you if the request contains a Session which was started in one of
215
215
the previous requests.
216
216
217
+ Accessing `Accept-* ` Headers Data
218
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
219
+
220
+ You can easily access basic data extracted from ``Accept-* `` headers
221
+ by using the following methods:
222
+
223
+ * :method: `Symfony\\ Component\\ HttpFoundation\\ Request::getAcceptableContentTypes `:
224
+ returns the list of accepted content types ordered by descending quality;
225
+
226
+ * :method: `Symfony\\ Component\\ HttpFoundation\\ Request::getLanguages `:
227
+ returns the list of accepted languages ordered by descending quality;
228
+
229
+ * :method: `Symfony\\ Component\\ HttpFoundation\\ Request::getCharsets `:
230
+ returns the list of accepted languages ordered by descending quality;
231
+
217
232
Accessing other Data
218
233
~~~~~~~~~~~~~~~~~~~~
219
234
You can’t perform that action at this time.
0 commit comments