WTVP/Processes/Favorites

From WebTV Wiki
Revision as of 19:31, 10 August 2023 by Wtv-411 (talk | contribs) (Add initial WTVP favorites page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
WTVP
OverviewList of WTVP ServicesWTVP-specific Content-TypesStatus Codes
Concepts
TokensTicketsCapability Flags
Headers
Header ListData TypesCommon Request Headers
Processes
First-Time RegistrationHeadwaiter (Login)Messenger ServicesFavoritesChecking for new mailRetrieving settingsObtaining new wtv-ticketsSmart CardMiscellaneous
URLs for WTVP Services
wtv-1800wtv-aroundtownwtv-authorwtv-centerwtv-chatwtv-contentwtv-cookiewtv-customscriptwtv-diskwtv-epguidewtv-favoritewtv-flashromwtv-guidewtv-head-waiterwtv-homewtv-introwtv-logwtv-mailwtv-newswtv-noticeswtv-partnerwtv-passportwtv-registerwtv-setupwtv-smartcardwtv-spotwtv-starwtv-trickswtv-tutorial

Folder list

When a WebTV/MSN TV client has to retrieve the list of favorite folders for the current user, it will make a WTVP GET request to the service URL defined in the wtv-favorites-folders-url header from the final headwaiter response. The service the URL points to is usually hosted on wtv-favorite, and the service URL used by the original service was wtv-favorite:/list-folders.

The response for the folder list service has a Content-Type of text/html, but the body data is a NUL-terminated sequence of strings representing the names of the favorite folders on the current user's account.

200 OK\n
Connection: Keep-Alive\n
wtv-encrypted: true\n
wtv-lzpf: 0\n
Content-length: {length of body}\n
Content-type: text/html\n
\n
Personal[0x00]Recommended[0x00]

Adding favorites

TBD