Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ESP32-audioI2S
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
ESP32-audioI2S
Commits
8259da06
Unverified
Commit
8259da06
authored
May 18, 2022
by
Wolle
Committed by
GitHub
May 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
User-Agend changed
parent
4516b13f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/Audio.cpp
src/Audio.cpp
+2
-2
No files found.
src/Audio.cpp
View file @
8259da06
...
...
@@ -2,7 +2,7 @@
* Audio.cpp
*
* Created on: Oct 26,2018
* Updated on: May
03
,2022
* Updated on: May
18
,2022
* Author: Wolle (schreibfaul1)
*
*/
...
...
@@ -518,7 +518,7 @@ bool Audio::connecttohost(const char* host, const char* user, const char* pwd) {
strcat
(
resp
,
"Authorization: Basic "
);
strcat
(
resp
,
authorization
);
strcat
(
resp
,
"
\r\n
"
);
strcat
(
resp
,
"User-Agent:
ESP32 audioI2S
\r\n
"
);
strcat
(
resp
,
"User-Agent:
Mozilla/5.0
\r\n
"
);
// strcat(resp, "Accept-Encoding: gzip;q=0\r\n"); // otherwise the server assumes gzip compression
// strcat(resp, "Transfer-Encoding: \r\n"); // otherwise the server assumes gzip compression
strcat
(
resp
,
"Connection: keep-alive
\r\n\r\n
"
);
...
...
Write
Preview
Markdown
is supported
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