You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-29Lines changed: 2 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,45 +91,18 @@ At this point the receiver can choose to publish information about this webmenti
91
91
92
92
##### Sender Error
93
93
94
-
If the webmention was not successful because of something the sender did, you SHOULD return a `400 Bad Request` status code and MAY include a simple plain text description of the error in the response body.
94
+
If the webmention was not successful because of something the sender did, you SHOULD return a `400 Bad Request` status code and MAY include a description of the error in the response body.
95
95
96
96
Possible sender related errors (from the [Pingback](http://www.hixie.ch/specs/pingback/pingback) specification):
97
97
* Source URL not found.
98
98
* Specified target URL not found.
99
99
* Source URL does not contain a link to the target URL.
100
100
* Specified target URL does not accept webmentions.
101
101
102
-
```http
103
-
POST /webmention-endpoint HTTP/1.1
104
-
Host: alice.host
105
-
Content-Type: application/x-www-url-form-encoded
106
-
107
-
source=http://bob.host/post-by-bob&
108
-
target=http://alice.host/post-by-alice
109
-
```
110
-
```http
111
-
HTTP/1.1 400 Bad Request
112
-
113
-
Source URL does not contain a link to the target URL.
114
-
```
115
-
116
102
##### Receiver Error
117
103
118
-
If the webmention was not successful because of an error on the receivers server, it SHOULD return a `500 Internal Server Error` status code and MAY include a simple plain text description of the error in the response body.
104
+
If the webmention was not successful because of an error on the receivers server, it SHOULD return a `500 Internal Server Error` status code and MAY include a description of the error in the response body.
119
105
120
-
```http
121
-
POST /webmention-endpoint HTTP/1.1
122
-
Host: alice.host
123
-
Content-Type: application/x-www-url-form-encoded
124
-
125
-
source=http://bob.host/post-by-bob&
126
-
target=http://alice.host/post-by-alice
127
-
```
128
-
```http
129
-
HTTP/1.1 500 Internal Server Error
130
-
131
-
Cannot processes webmentions at this time. Please try again later.
132
-
```
133
106
134
107
#### Updating existing webmentions
135
108
If receiver had received a webmention in the past with the same `source` and `target` then,
0 commit comments