| | 194 | #ifndef NO_OFFLINE_SUPPORT |
| | 195 | } else if(matchUrl("/polipo/offline", object)) { |
| | 196 | fprintf(stderr, "/polipo/offline was called!"); |
| | 197 | fflush(stderr); |
| | 198 | objectPrintf(object, 0, |
| | 199 | "<!DOCTYPE HTML PUBLIC " |
| | 200 | "\"-//W3C//DTD HTML 4.01 Transitional//EN\" " |
| | 201 | "\"http://www.w3.org/TR/html4/loose.dtd\">\n" |
| | 202 | "<html><head>\n" |
| | 203 | "<title>Hello World</title>\n" |
| | 204 | "</head><body>\n" |
| | 205 | "<h1>Hello from the Polipo world!!!!! This is exciting!</h1>\n"); |
| | 206 | object->length = object->size; |
| | 207 | #endif |