1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-18 12:24:04 +03:00

Fix spelling errors in WebServer source (#9146)

This commit is contained in:
Vic-Y 2024-06-15 12:55:27 -06:00 committed by GitHub
parent 7e3d1bd0d8
commit 338b62577e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -120,7 +120,7 @@ The **serveStatic** plug in is part of the library and handles delivering files
> ```
### Cross-Origin Ressource Sharing (CORS)
### Cross-Origin Resource Sharing (CORS)
The `enableCORS(true)` function adds a `Access-Control-Allow-Origin: *` http-header to all responses to the client
to inform that it is allowed to call URLs and services on this server from other web sites.

View File

@ -104,7 +104,7 @@ public:
// @brief check incoming request. Can handle POST for uploads and DELETE.
// @param requestMethod method of the http request line.
// @param requestUri request ressource from the http request line.
// @param requestUri request resource from the http request line.
// @return true when method can be handled.
bool canHandle(HTTPMethod requestMethod, const String UNUSED &_uri) override {
return ((requestMethod == HTTP_POST) || (requestMethod == HTTP_DELETE));

View File

@ -54,10 +54,10 @@ R"==(
static const char notFoundContent[] PROGMEM = R"==(
<html>
<head>
<title>Ressource not found</title>
<title>Resource not found</title>
</head>
<body>
<p>The ressource was not found.</p>
<p>The resource was not found.</p>
<p><a href="/">Start again</a></p>
</body>
)==";