mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
Fix spelling errors in WebServer source (#9146)
This commit is contained in:
parent
7e3d1bd0d8
commit
338b62577e
@ -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.
|
||||
|
@ -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));
|
||||
|
@ -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>
|
||||
)==";
|
||||
|
Loading…
x
Reference in New Issue
Block a user