HTTP的内容类型 [英] Content-Type Of HTTP

查看:69
本文介绍了HTTP的内容类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用由其他成员写的此嗅探器.我想知道,因为我看不到.我可以通过该程序获取http标头的内容类型吗?

使用Winsock嗅探 [

I''m using this sniffer writen by a fellow member. I would like to know, because I don''t see it. Can I get the content-type of an http header with this program?

Sniffing using Winsock[^]

Thank you.

推荐答案

在本文结尾处使用新消息"来提出您的问题.将通过电子邮件通知作者.

Use "New Message" at the end of the article to ask the your question. The author will be notified by e-mail.

成员7766180写道:
Member 7766180 wrote:

在此期间,您对我的问题有何看法?

In the meantime what''s your opinion my question?



让我看看……您想看看HTTP协议.好的,但这全都是基于文本的(甚至通过base64传输二进制文件!).就是说,您可以做一些研究:当您收到一个嗅探到的软件包时,将其保存在磁盘上并查看文本.它将为您提供有关数据格式的很好的主意.为了安全起见,请使用HTTP标准确认您的发现,请参见
http://en.wikipedia.org/wiki/Http [^ ]和本文中的引用.我不认为这很难找到.

—SA



Let me see… you want to look at HTTP protocol. OK, but it''s all based on text (even transmission of binary files, via base64!). That said, you can do a little research: when you get a sniffed package, save it on disk and look at the text. It will give you pretty good idea on the format of data. To be on the safe side, confirm your finding with the HTTP standard, see http://en.wikipedia.org/wiki/Http[^] and references in this article. I don''t thing this will be hard to find out.

—SA


这篇关于HTTP的内容类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆