Everything2
Near Matches
Ignore Exact
Full Text
Everything2

Response.ContentType

created by yossarianc

(idea) by yossarianc (1 mon) (print)   ?   (I like it!) Wed Oct 03 2001 at 16:40:28

ASP Response Object : ContentType Property

The ContentType property specifies the HTML content type for the response. The content type is a string of the form form/subform, where type is the general content category and subtype is the specific content. The default is text/HTML.
Example:

  <% Response.ContentType = "text/plain" %>
would set the HTTP content type header to:
  content-type: text/plain

A complete list of valid content types is registerd with the IANA (Internet Assigned Numbers Authority). The list can be accessed at:
http://www.isi.edu/in-notes/iana/assignments/media-types/media-types

Note: Non-standard and experimental types are not included in the list. Types that follow the format "x-typename" are experimental types.


Back to the ASP Response Object
Back to ASP Objects
References:
http://www.devguru.com/
http://msdn.microsoft.com/asp/
http://www.iana.org/

All code is my own (and is asbestos free).

printable version
chaos

response Mac OS X Server ASP Objects
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Little presents from the Node Fairy:
How to recognize a fruit
The little red-haired girl
Édouard Manet
The Smiths
Rapper's Delight
Sealand
Taliesin
Dreamland: a screenplay treatment
Grendel
Turing Machine
MPEG Audio Frame Header
Commodus
(Biblical) Love
New Writeups
tejasa
Cranberry Cornbread(recipe)
Dreamvirus
Brighton Bombing(event)
Ariloulaleelay
'Appendices' to a 'Report' on THE HIVE×BODY MACHŸNE(log)
Timeshredder
WALL-E(review)
sitaraika
Win-laik-pya(idea)
whitelight
The abysmalists(poetry)
Hazelnut
How to solve the obesity epidemic and the oil price hike in one fell swoop(idea)
raincomplex
Spitting out teeth like ampersands(place)
wertperch
July 4, 2008(personal)
Andrew Aguecheek
Keeping In Mind(fiction)
Heitah
The Pit of Life and Death(place)
alyssa-cruz
Spitting out teeth like ampersands(person)
antigravpussy
she is his sounding board(event)
Heitah
Four day work week(idea)
Simulacron3
The Brain and Reality(essay)
Everything 2 is brought to you by the letter C and The Everything Development Company