Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/ESP8266WebServer/examples/WebServer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
4 changes: 2 additions & 2 deletions libraries/ESP8266WebServer/examples/WebServer/builtinfiles.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
)==";