阅读帖子标题
问题描述:
如何阅读帖子的标题?
答
? 用你的眼睛?
这是什么意思?
需要更多信息.
没有上下文,这个问题就毫无意义.
? With your eyes?
What do you mean by this?
More information required.
The question is meaningless without context.
正如达莱克·戴夫(Dalek Dave)所说的,没有context
就无法做到.上下文具有Request
和Response
对象.HttpResponse
对象具有Headers
属性.
因此可以通过页面内的Response.Headers
进行访问.如果要访问页面外部的上下文,请使用Custom Http handler
As Dalek Dave said you can''t do it without thecontext
. The context has theRequest
andResponse
objects. TheHttpResponse
object has theHeaders
property.
So it can be access throughResponse.Headers
inside the page. If you want to access the context out side the page then catch it using aCustom Http handler