Check-in [a2671ef974]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:[HTTP.BAS] - Initialize itself the main header line and set the default content type.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:a2671ef97451b17b11df1315012da00aaeabddb1
User & Date: Administrador 2016-10-06 02:57:34
Context
2016-10-06
03:03
[MAIN] - Include http.bas in the main application file. check-in: c83533382c user: Administrador tags: trunk
02:57
[HTTP.BAS] - Initialize itself the main header line and set the default content type. check-in: a2671ef974 user: Administrador tags: trunk
02:54
[HTTP.BAS] - Implement the SetContentType function. check-in: e8a8d61f52 user: Administrador tags: trunk
Changes

Changes to root/core/http.bas.

48
49
50
51
52
53
54



  'TODO: Add the charset based on site encoding setting
  'Add the line feed
  strOutput$ = strOutput$ + CHR$(13) + CHR$(10)
  'Return the entire line
  SetContentType$ = strOutput$
  strOutput$ = ""
END FUNCTION










>
>
>
48
49
50
51
52
53
54
55
56
57
  'TODO: Add the charset based on site encoding setting
  'Add the line feed
  strOutput$ = strOutput$ + CHR$(13) + CHR$(10)
  'Return the entire line
  SetContentType$ = strOutput$
  strOutput$ = ""
END FUNCTION

COMMON SHARED httpHeader$
httpHeader$ = SetContentType$("text/html")