#2 Add displaytype=raw when sending text

open-fixed
nobody
None
3
2003-03-01
2002-12-17
Anonymous
No

Please add

http.setMessageBodyPair("displaytype", "raw");

to sendMessage() in ThreadOutgoing.java so nodelets
are not displayed and ignored (to reduce server load and
so XP updates don't get lost).

This patch applied to
http://perlmonks.org/?node=new+java+chat+client

[Tye]

Discussion

  • N-Wing
    N-Wing
    2003-03-01

    • milestone: 101075 -->
    • priority: 5 --> 3
    • status: open --> open-fixed
     
  • N-Wing
    N-Wing
    2003-03-01

    Logged In: YES
    user_id=23976

    Fixed in version 0.1.11.4 by having npb.everything.Site have a
    function that returns if the site supports raw displaytype, and
    the message-sending classes check for this and append
    displaytype=raw if so. Currently only activated for Perl Monks,
    because (to my knowledge) the other E-sites don't have raw.
    (The Everything engine gives a server error page if an
    unsupported displaytype is used, which is why we can't just
    try to use it for all sites.)