X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-CGI-Ex;a=blobdiff_plain;f=README;fp=README;h=1553dbf937525a90e44c0c51e85dc69790052e45;hp=fcafd52f32ff00e463e58e65819a2d8d6058b31b;hb=b6e904ff7b346908d0662aae9a9c5f7d976dd85e;hpb=ba92ea5b36cbcd9c03016491dfb06dfc74baf409 diff --git a/README b/README index fcafd52..1553dbf 100644 --- a/README +++ b/README @@ -223,6 +223,14 @@ CGI::Ex METHODS header. Trying to print ->content_type is an error. For clarity, the method ->print_content_type is available. + $cgix->print_content_type; + + # OR + $cgix->print_content_type('text/html'); + + # OR + $cgix->print_content_type('text/html', 'utf-8'); + "->set_cookie" Arguments are the same as those to CGI->new->cookie({}). Uses CGI's cookie method to create a cookie, but then, depending on if content