Search notes:

System.Net.HttpListenerResponse (class)

Note: The ContentLength64 must be set explicitely before writing to the resturned Stream object.
This seems to be the reason that calling .Flush() on OutputStream does not work as intended (at least by me).

Properties and methods

Abort()
AddHeader
AppendCookie
AppendHeader
Close
ContentEncoding
ContentLength64
ContentType
Cookies
CopyFrom
Headers
KeepAlive
OutputStream
ProtocolVersion
Redirect
RedirectLocation The StatusCode is not automatically set (to for example 307 or 308) if a value is assigned to this property
SendChunked
SetCookie
StatusCode
StatusDescription

See also

The Response property of System.Net.HttpListenerContext.
System.Web.HttpResponse

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:51 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(51): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(66): id_of(Object(PDO), 'uri', '/notes/Microsof...') #2 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Microsof...', 1761296763, '216.73.216.81', 'Mozilla/5.0 App...', NULL) #3 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/dot-net/namespaces-classes/System/Net/HttpListenerResponse(69): insert_webrequest() #4 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 51