Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
36a1c771
Commit
36a1c771
authored
Sep 12, 2016
by
Phil Höfer
Browse files
Newline nach HTTP-Header ergänzt
parent
ea6d74cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Jobs/Search.php
View file @
36a1c771
...
...
@@ -222,7 +222,7 @@ class Search extends Job implements ShouldQueue
$out
.
=
"Accept-Language: de,en-US;q=0.7,en;q=0.3
\r\n
"
;
$out
.
=
"Accept-Encoding: gzip, deflate, br
\r\n
"
;
foreach
(
explode
(
"$#!#$"
,
$this
->
additionalHeaders
)
as
$additionalHeader
)
{
$out
.
=
str_replace
(
"$#!!#$"
,
"$#!#$"
,
$additionalHeader
);
$out
.
=
str_replace
(
"$#!!#$"
,
"$#!#$"
,
$additionalHeader
)
.
"
\r\n
"
;
}
$out
.
=
$this
->
additionalHeaders
;
$out
.
=
"Connection: keep-alive
\r\n\r\n
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment