简体   繁体   English

Symbian获取内容类型?

[英]Symbian get content-type?

I'm develop on C++ for Symbian. 我正在为Symbian开发C ++。 How do I get the content-type from the site I'm accessing from RHTTPTransaction? 如何从我从RHTTPTransaction访问的站点获取内容类型?

一种方法是使用Response()从事务中获取RHTTPResponse对象,然后通过GetHeaderCollection()GetField()访问Content-Type标头值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何获取文件的内容类型 - How to get the content-type of a file Poco :: Net :: HTTPClientSession json数据未收到Content-Type - Poco::Net::HTTPClientSession json data Content-Type not received HTTP POST中缺少内容类型。 使用Webview进行QT - content-type missing in HTTP POST. QT using Webview 如何设置.Net WebClient :: UploadString()的内容类型? - How to set content-type of .Net WebClient::UploadString()? nghttp2-asio:在标题中设置内容类型的正确方法 - nghttp2-asio : Proper way to set content-type in header libcurl HTTP 请求在 MIME 数据中设置 content-disposition 和 content-type - libcurl HTTP request set content-disposition and content-type in MIME data 尽管正确设置了主机,方法和内容类型,但Poco库的PUT方法无法按预期工作 - Poco library PUT method not working as expected although host, method, content-type are set correctly 使用Wininet上传文件时如何添加正确的Content-Type? (HTTP PUT) - How to add correct Content-Type when uploading file with Wininet? (HTTP PUT) 使用AWS c ++界面将文件上传到s3时Content-Type标记不正确 - Content-Type tag incorrect when uploading file to s3 using the AWS c++ interface 标头内容类型在curl_multi_add_handle和curl_multi_perform之间变化 - header content-type changes between curl_multi_add_handle and curl_multi_perform
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM